package com.kaizzi.data.jdl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Kzen
 * @Description description
 * @date 2020/9/14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CampaignUser1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;
    @TableField("campaign_id")
    private Long campaignId;
    @TableField("is_new")
    private int isNew;
    @TableField("params")
    private String params;
    @TableField("created_at")
    private LocalDateTime createAt;
    @TableField("mopenid")
    private String mopenId;
}
